﻿package com.liangzhong.constants
{

    public class TaskConst
    {
        public static const MAX_ROLE_TASK_NUM						:int = 20;
        public static const TASK_NAME_LEN							:int = 64;
        public static const SCRIPT_COMMAND_INVALID					:int = -1;
        public static const SCRIPT_COMMAND_EVENT_LIST_RESPONSE		:int = 0;
        public static const SCRIPT_COMMAND_TASK_RESPONSE			:int = 1;
        public static const SCRIPT_COMMAND_TASK_DEMAND_RESPONSE	:int = 2;
        public static const SCRIPT_COMMAND_TASK_CONTINUE_RESPONSE	:int = 3;
        public static const SCRIPT_COMMAND_TASK_TIPS				:int = 4;
        public static const TASK_AWARD_TYPE_INVALID				:int = 0;
        public static const TASK_AWARD_TYPE_MONEY1					:int = 1;
        public static const TASK_AWARD_TYPE_MONEY2					:int = 2;
		public static const TASK_AWARD_TYPE_MONEY3					:int = 3;
        public static const TASK_AWARD_TYPE_EXP					:int = 4;
		public static const TASK_AWARD_TYPE_ITEM					:int = 5;
        public static const TASK_DEMAND_NO							:int = 0;
        public static const TASK_DEMAND_ITEM						:int = 1;
        public static const TASK_DEMAND_PET						:int = 2;
        public static const TASK_DEMAND_KILL						:int = 3;
        public static const TASK_DEMAND_MONEY						:int = 4;
        public static const NPC_HEAD								:int = 0;
        public static const ROLE_HEAD								:int = 1;
        public static const TASK_STATUS_NO_DONE					:int = 0;
        public static const TASK_STATUS_COMPLETE					:int = 1;
        public static const TASK_STATUS_NEED_2_CONFIRM				:int = 2;
        public static const TASK_STATUS_2_FAILED					:int = 3;
        public static const TASK_STATUS_2_SUCCESS					:int = 4;
        public static const EVENT_ITEM_TYPE_INVALID				:int = -1;
        public static const EVENT_ITEM_TYPE_SCRIPT_ID				:int = 0;
        public static const EVENT_ITEM_TYPE_TEXT					:int = 1;
        public static const RANDOM_TASK							:int = 3;
        public static const GUIDE_TASK								:int = 4;
        public static const SPECIAL_TASK:							int = 5;
        public static var taskTrackIsOpen							:Boolean = true;
        public static const EVENT_STATE_NONE						:int = 0;
        public static const EVENT_STATE_CAN_ACCEPT					:int = 1;
        public static const EVENT_STATE_NO_DONE					:int = 2;
        public static const EVENT_STATE_DONE						:int = 3;
		
		/**
		 *主线任务 
		 */
		public static const MAIN_TASK:int = 1;
		/**
		 *日常任务 
		 */
		public static const DAY_TASK:int = 2;
		/**
		 *国家任务 
		 */
		public static const NATION_TASK:int = 3;
		/**
		 *任务完成 
		 */
		public static const TASK_FINISH:int = 2;
		/**
		 *任务未完成 
		 */
		public static const TASK_UNFINISH:int = 1;
		
    }
}
